package com.example.score.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDateTime;
import java.util.List;

@Data
@TableName("t_exam_detail")
public class ExamDetail {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long examId;
    private String schoolNumber;
    private Long gradeId;
    private Long gradeOmsId;
    private Long subjectId;
    private Long subjectOnlyid;
    private String subjectName;
    private Integer status;
    private Integer fullScore;
    private LocalDateTime createdTime;
    private LocalDateTime updatedTime;

    @TableField(exist = false)
    private List<GradeInfo> grades;
    
    @TableField(exist = false)
    private List<QuestionInfo> questions;
}